<html>

    <wicket:head>
        <title>Medieval Cities - Market</title>
        <wicket:link>
            <link rel="stylesheet" type="text/css" href="../style.css"/>
        </wicket:link>
    </wicket:head>

    <body>
        <div id="wrapper">
            <h1>Medieval Cities</h1>

            <div id="header">
                <div id="linkPanel" align="center" wicket:id="linkPanel"></div>
                <div  align="center" wicket:id="marketPanel"></div>
            </div>
            <div id="text">
                <h1>New Offer</h1>


                <form wicket:id="form">
                    <p>                

                        <label>From:</label> 
                        <br />                
                        <select wicket:id="from" type="text"/>
                        <br />

                        <label>Wanted resource</label> 
                        <br />
                        <select wicket:id="wantedResource"></select>
                        <br />  

                        <label>Count</label> 
                        <br />
                        <input wicket:id="wantedCount"></input>
                        <br />
                        
                        <label>Offered resource</label> 
                        <br />
                        <select wicket:id="offeredResource"></select>
                        <br />  

                        <label>Count</label> 
                        <br />
                        <input wicket:id="offeredCount"></input>
                        <br />

                    </p>
                    <input type="submit" value="Add Offer" />
                </form>
                <div wicket:id="feedback"></div>
                <h1>Your offers</h1>
                <table border="1">
                    <tr>
                        <th>Wanted resource</th>
                        <th>Offered resource</th>                        
                    </tr>
                    <span wicket:id="listview">
                        <tr>
                            <td><span wicket:id="wanted">wanted</span></td>                          
                            <td><span wicket:id="offered">offered</span></td>
                            <td><a href="#" wicket:id="delete"><span wicket:id="delete">delete</span></a></td>
                        </tr>
                    </span>
                </table>
                <br/>

            </div>
            Jakub Kutil, 2014
        </div>
    </body>
</html>